<?php $this->load->view('common/sidebar.php'); ?>
        <style type="text/css" media="screen">
        <?php if($cur_catname == 'Architecture' || $cur_catname == 'Founding Professor' || $cur_catname == 'Urban Planning' || $cur_catname == 'Landscape' || 
            $cur_catname=='Advisory Professor' || $cur_catname == 'Visiting Professor' || $cur_catname == 'Honorary Professor'){ ?>
            body.home .caup-meta {
                 position: inherit; 
            }
            <?php } ?>
            .pcard .professional {
                height: 40px;
            }
        </style>
        <section>
            <div class="container">
            <div class="row">
                <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                          <ol class="breadcrumb">
                              <li><a href="<?php echo base_url() ?>">Home</a></li>
                              <li><a href="<?php echo site_url($catname.'/article/28') ?>"><?php echo $catname; ?></a></li>
                              <li class="active"><?php echo $cur_catname; ?></li>
                          </ol>
                        </div>

                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                    <!-- people card group -->
                <div class="row pcard-group">
                    <?php if(! empty($peoples)): ?>
                    <?php foreach ($peoples as $k => $v) {?>
                         <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                             <div class="pcard">
                                 <p class="photo"><img src="<?php echo base_url().'uploads/people/'.$v['pe_image'] ?>" /></p>
                                 <h6 class="name"><a href="<?php echo site_url('people/info/'.$v['c_id'].'/'.$v['pe_id']) ?>"><?php echo $v['pe_name'];?></a></h6>
                                 <?php if(! empty($v['pe_duty'])){ ?>
                                    <p class="professional"><?php echo $v['pe_duty'];?>&nbsp;</p>
                                    <p class="contact"><?php echo $v['pe_term'] ?></p>
                                 <?php }else{ ?>
                                    <p class="professional"><?php echo $v['pe_email'] ?></p>
                                    <p class="contact"><?php echo $v['pe_office'] ?></p>
                                 <?php } ?>
                             </div>
                         </div>       
                    <?php } ?>
                    <?php else: ?>
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                        <ul class="cauplist">
                             <li class="item">
                                No Content Here :-(
                             </li>
                        </ul>
                        </div>
                    <?php endif; ?>
                </div>
                </div>
            </div>

            <nav>
                <?php echo $pagination; ?>                          
            </nav>
        </div>
    </div>

</div>
</section>